package com.wanmait.wisdom.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2024/05/14
*/
@Data
@Accessors(chain = true)
@TableName("bulletin")
public class Bulletin implements Serializable {
    /**
	* id
	*/
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
	* 标题
	*/

    private String title;

    /**
	* 内容
	*/
    private String content;

    /**
	* 发布人
	*/

    private Integer adminId;

    @TableField(exist = false)
    private Admin admin;
    /**
	* 发布时间
	*/
    private Date time;

    /**
	* 是否显示
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;
}